package ast;

import java.util.ArrayList;
import java.util.List;

public class FunctionCall implements Expression {

	private Expression callee;
	private List<Expression> arguments = new ArrayList<>();

	public FunctionCall(Expression callee) {
		this.callee = callee;
	}

	public Expression getCallee() {
		return callee;
	}

	public List<Expression> getArguments() {
		return arguments;
	}

	@Override
	public void accept(Visitor visitor) {
		visitor.visitFunctionCall(this);
	}

}
